password entry: Add a way to see the content
authorMatthias Clasen <mclasen@redhat.com>
Wed, 13 Mar 2019 20:27:07 +0000 (16:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Mar 2019 00:31:45 +0000 (20:31 -0400)
commita3b73a416efdb15f91c957a7b7e7b7a77a0d8130
tree6a6c203297f149c20be024c6cab3b8c4869815cb
parentd3cecd65a5da94711315269415ef24f3896ce622
password entry: Add a way to see the content

Add a ::show-peek-icon property and show a clickable
icon when it is set. Clicking it toggles the visibility
of the content. The same functionality is also accessible
via a context menu item.

This is a common feature of password entries.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkpasswordentry.c
gtk/gtkpasswordentry.h
gtk/icons/16x16/status/eye-not-looking-symbolic.symbolic.png [new file with mode: 0644]
gtk/icons/16x16/status/eye-open-negative-filled-symbolic.symbolic.png [new file with mode: 0644]
gtk/icons/scalable/status/eye-not-looking-symbolic.svg [new file with mode: 0644]
gtk/icons/scalable/status/eye-open-negative-filled-symbolic.svg [new file with mode: 0644]
tests/testentryicons.c